package com.ymk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ymk.base.BaseVO;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台用户表
 * </p>
 *
 * @author 莫参商
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sop_user")
public class SopUser extends BaseVO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    @TableField("mobile")
    private String mobile;

    /**
     * 商户密码
     */
    @TableField("password")
    private String password;

    /**
     * 密码盐
     */
    @TableField("salt")
    private String salt;

    /**
     * 联系人名称
     */
    @TableField("name")
    private String name;

    /**
     * 头像地址
     */
    @TableField("avatar_url")
    private String avatarUrl;

    /**
     * 状态
     */
    @TableField("status")
    private String status;


}
